Simple 3 Column Table

Simple 3 Column Table

I used the center code to center the table and center the content
and i used the border code.
You can remove those codes if do not want them
border and center



Column 1
Place your
content in
column 1
Column 2
Place your
content in
column 2
Column 3
Place your
content in
column 3


Line Break and Spaces

If you need to go to the next line down use
<br>
If you need to move something left or right,
and the space bar doesn't do it.
You can use html to add the spaces.
The code is &nbsp;
You may need to add a lot of them,
depending on how many spaces you need.

Anchor Links

<a name="Menu"></a>



Menu
<a href="http://htmlcopyandpaste.blogspot.com/2009/07/anchor-links.html#Instructions">Instructions</a>
Instructions

Anchor Links

Anchor Links are used to jump to a section of a page when a link is clicked

First CodeSecond Code
The first code is the link that is clicked on to take you to another area.
<a href="http://www.PageURL.html#AnyName">Link Name</a>

First Anchor Code is the link




And the second code you place before the section you want the link to jump to

<a name="AnyName"></a>

Second Anchor Code goes in front of the section linking to


<a name="Instructions"></a>


Instructions


Anchor Links are used to jump to a section of a page when a link is clicked

Anchor Links take (2 Codes)

The first code is the link that is clicked on
<a href="http://www.PageURL.html#AnyName">Link Name</a>

And the second code you place before the section you want the link to jump to
<a name="AnyName"></a>

**Change AnyName in both codes to whatever you want, except don't use a space in the name,
and both need to be the same name**

Example: Say you want the link to take the person clicking on it to a Return Policy section, then you could change Anyname to 'ReturnPolicy' in both codes.
Then you would want to change the 'Link Name' to say, Return Policy or something similar. And you change the PageURL to the url of the page jumping to if not on the same page.

If its on the same page, you do not need to put the url, use href="#ReturnPolicy"

You can also use anchor links to go back to the top of the page or menu "Back To Menu' to jump back to the top of the page to the Menu.
<a href="http://htmlcopyandpaste.blogspot.com/2009/07/anchor-links.html#Menu">Menu</a>

Back to Menu


Marquee - Scrolling

Marquee - Scrolling Text & Images

Welcome To My Blog!!



Marquee - Control Speed of Scrolling Text

Slow Scrolling Text

Slow scrolling text



Medium Scrolling Text

Medium scrolling text



Fast Scrolling Text

Fast scrolling text



Marquee - Scrolling Images
Some browsers to not display Marquee's correctly.
Their are other ways to display images, including a scrollbox, or javascript.





CSS Examples

Their are a lot of free CSS Templates, and code examples online.
Below are a few links:
Free CSS Templates, Menus, Layouts, CSS Galleries
Free CSS Templates



Their are also CSS Generators online.
Below are a few links:
css-generator.com
cssmenumaker.com
creatingonline.com



Here is a link to a really good website for CSS Examples
http://www.w3schools.com/css/css_examples.asp



Styling Link Colors




Styling Tables




Styling Tabbed Links




Styling Link Buttons using Borders


Easy Link Button using borders


Styling Icon Colors


Link with a Bullet Icon that changes color


Tables vs Divs

I myself prefer Tables, but most developers prefer Divs.

To me it is easier to get things to go where I want them using Tables

Div's need to be properly coded or they end up who knows where on the page.

The learning time for Tables to me is so much easier.

But using Divs does have its advantages.

Their are different ways to position divs. (Absolute, Relative, and Float)

Below is the css code for a div named navigation that is Absolute Positioned




And here is the div code that goes in the Body of your page



As you can see, you position the div to a specific area of the page.

This can be a good thing, or a bad thing.

Now say you want the next div to go below that div.

In a Table, we would start a New Row < tr >(Simple). In a Div layout. if your a beginner, good luck figuring it out.

Tables are simple < tr > to start a new row,
and < td > to start a new column.

Div's require a lot more learning to understand the many different ways to use them.

I am still trying to learn Div's myself. I have used Div Layouts many times, but always pre-made layouts, and I have difficulty trying to alter the placement of the Divs. If changing number of divs in each row, I have the best luck Absolute Positioning every div, but need a calculator for that. I'm terrible at math. Floating Divs are easy if just 2 columns. Relative Div's totally confuse me.

To me,
Tables are like having Dresser Drawers to put stuff in,
TR for each row of drawers, TD for each drawer in the row,

Div's are like trying to stack stuff without drawers or shelves,
if not stacked correctly, your stuff or div, will fall over.
The easiest to me is a two column, float left, float right, div layout.
If you want 4 (divs) in one row, and 2 (divs) in another row, and 3 (divs) in the next row, it gets difficult. But maybe I just haven't found the right tutorial.

But that doesn't mean you shouldn't try to learn it,
because their are good reasons to use Div's instead of Tables.

If you want to be a pro at building websites, then you would want
to learn how to use Div Layouts.

There are many Div Layout Tutorials online.

Below are a few links explaining Div Layouts:


Working with divs

Div boxes

HTML DIV Tutorial

Using a Style Sheet on Multiple Pages

There are several ways to include a Style Sheet on your page.

1. Insert Style Sheet in the head section of every page

2. Call a Style Sheet with PHP, but will get to that later.


3. Make a file in your directory with your Style Sheet Code,

Name the file with the .css ending.
You can name it anything you want, but needs to end in .css
style.css my.css style1.css

Then place the command below
(replace with your url/file name)
in the Head Section of your pages to call for the Style Sheet: